//
//  SISSTakeLookDetailViewController.h
//  SISSAPP
//
//  Created by 优房网 on 2017/7/13.
//  Copyright © 2017年 优房网. All rights reserved.
//

#import "SISSMineBaseViewController.h"
#import "SISSTextView.h"
#import "SISSCoopCommentShowView.h"
#import "SISSCoopCommentMidView.h"
#import "SISSCommentShowView.h"
#import "SISSCommentMidView.h"

@class SISSHouseCoopTakeLookModel;


@interface SISSTakeLookDetailViewController : SISSMineBaseViewController

/* 图片轮播 */
@property (weak, nonatomic) SDCycleScrollView *cycleScrollView;
/* 图片分页 */
@property (weak, nonatomic) UILabel *pageLabel;
/* 评价中间View */
@property (weak, nonatomic) SISSCoopCommentMidView *coopMidView;
@property (weak, nonatomic) SISSCommentMidView *midView;
/* 追加中间View */
@property (weak, nonatomic) SISSTextView *additonalTextView;
/* infoView */
@property (strong, nonatomic) UIView *infoView;
/* 我对他的评价 */
@property (weak, nonatomic) SISSCoopCommentShowView *coopToCommentView;
@property (weak, nonatomic) SISSCommentShowView *toCommentShowView;
/* 他对我的评价 */
@property (weak, nonatomic) SISSCoopCommentShowView *beCommentedView;

@property (weak, nonatomic) UIButton *bottomButton;
/* 带看属实 */
@property (weak, nonatomic) UIButton *trueButton;
/* 带看不属实 */
@property (weak, nonatomic) UIButton *untrueButton;

/* 图片链接数组 */
@property (strong, nonatomic) NSArray *imagesURLStrings;
/* 经纪人type */
@property (assign, nonatomic) NSInteger type;
/* 我对别人评价id */
@property (copy, nonatomic) NSString *toAcrId;
/* 别人对我评价id */
@property (copy, nonatomic) NSString *beAcrId;
/* 是否是追加 */
@property (assign, nonatomic) BOOL isAdditionalComment;
/// brokerState 由此判断是否评价等
@property (assign, nonatomic) NSInteger brokerState;
/* 是否是合作进入 */
@property (assign, nonatomic) BOOL isCooperationIn;

/* 删除完成回调 */
@property (copy, nonatomic) void(^deleteCompletedBlock)();

/**
 获取带看详情
 */
- (void)requestTakeLookDetailData;
/**
 获取评论数据
 */
- (void)requestCommentData;
/**
 添加评论
 */
- (void)addComment;
/**
 追加评论
 */
- (void)addAdditionalComment;
/**
 带看是否属实
 
 @param state 1：同意 2：不同意
 */
- (void)takeLookTrueOrNotWithState:(NSInteger)state;

/**
 删除带看
 */
- (void)deleteTakeLook;


/**
 底部Button不同状态及赋值
 */
- (void)bottomButtonAssinment;

@end
